<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>Bandit-Blog前台</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/public.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/about.css">
</head>
<body>
<%
    request.setAttribute("about","layui-this");
%>
<c:import url="commons/header.jsp"></c:import>

<div class="layui-container">
    <!-- 上边界 -->
    <div class="layui-edge-top"> </div>
    <div class="layui-edge-top layui-show-sm-block layui-hide-lg"></div>
    <div class="layui-row">
        <!-- 头 -->
        <div class="layui-col-lg12 layui-col-sm12">
            <div class="layui-card header-card">
                <div class="layui-card-header">更新日志</div>
            </div>
        </div>
        <!-- 中间 -->
        <div class="layui-col-lg12 layui-col-sm12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <ul class="layui-timeline">
<%--                        <li class="layui-timeline-item">--%>
<%--                            <i class="layui-icon layui-timeline-axis">&#xe63f;</i>--%>
<%--                            <div class="layui-timeline-content layui-text">--%>
<%--                                <h3 class="layui-timeline-title">8月18日</h3>--%>
<%--                                <p>--%>
<%--                                    layui 2.0 的一切准备工作似乎都已到位。发布之弦，一触即发。--%>
<%--                                    <br>不枉近百个日日夜夜与之为伴。因小而大，因弱而强。--%>
<%--                                    <br>无论它能走多远，抑或如何支撑？至少我曾倾注全心，无怨无悔 <i class="layui-icon"></i>--%>
<%--                                </p>--%>
<%--                            </div>--%>
<%--                        </li>--%>
                        <li class="layui-timeline-item">
                            <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
                            <div class="layui-timeline-content layui-text">
                                <h3 class="layui-timeline-title">2021/10/9</h3>
                                <p>Bandit-Blog初版完成</p>
                                <br>很多功能尚未完成，实现了基本功能
                                <br>博客增删改查回复，按类型/搜索/分页查询
                                <br>类型增删改查
                            </div>
                        </li>
                        <li class="layui-timeline-item">
                            <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
                            <div class="layui-timeline-content layui-text">
                                <h3 class="layui-timeline-title">2021/9/23</h3>
                                <p>
                                    Bandit-Blog立项
                                    <br>写写看吧
                                    <br>记录一下
                                </p>
                            </div>
                        </li>
                        <li class="layui-timeline-item">
                            <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
                            <div class="layui-timeline-content layui-text">
                                <div class="layui-timeline-title">过去</div>
                            </div>
                        </li>
                    </ul>

                </div>
            </div>
        </div>
        <!-- 尾 -->
        <div class="layui-col-lg12 layui-col-sm12">
            <div class="layui-card">
                <div class="layui-card-body footer-card">

                </div>
            </div>
        </div>
    </div>
</div>

<c:import url="commons/footer.jsp"></c:import>
<!-- 脚本 -->
<script src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
<script>
    //JS
    layui.use(['element', 'layer', 'util', 'laydate','carousel'], function () {
        var element = layui.element,
            laydate = layui.laydate,
            layer = layui.layer,
            util = layui.util,
            carousel = layui.carousel,
            $ = layui.$;

        //头部事件
        util.event('lay-header-event', {
            menuRight: function () {
                layer.open({
                    type: 1,
                    content: '<div style="padding: 15px;">处理右侧面板的操作</div>',
                    area: ['260px', '100%'],
                    offset: 'rt' //右上角
                    ,
                    anim: 5,
                    shadeClose: true
                });
            }
        });
        //日历
        laydate.render({
            elem: '#date',
            position: 'static',
            value: new Date(),
            calendar: true
        });
        //轮播
        carousel.render({
            elem: '#carouse',
            width: '100%', //设置容器宽度
            arrow: 'always' //始终显示箭头
            //anim: 'updown' //切换动画方式
        });
    });
</script>
</body>
</body>
</html>
